#pragma once
#include "afxwin.h"
#include "DrawCommon.h"
class CUnknowCtrl : public CStatic
{
	DECLARE_DYNAMIC(CUnknowCtrl)
protected:
	CDrawCommon m_draw;
	CString m_text;
	CFont* m_font;
	//bool m_highlight{ false };

public:
	CUnknowCtrl();
	~CUnknowCtrl();

	void SetFontEx(CFont* font) { m_font = font; }

	DECLARE_MESSAGE_MAP()
	afx_msg void OnPaint();
	virtual void PreSubclassWindow();
public:
	virtual BOOL Create(LPCTSTR lpszText, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID = 0xffff);
//	afx_msg void OnMouseHover(UINT nFlags, CPoint point);
//	afx_msg void OnMouseLeave();
};

